//
//  HMSinaPictures.swift
//  ZJCSina
//
//  Created by 朱建超 on 16/11/18.
//  Copyright © 2016年 itHeiMa. All rights reserved.
//

import UIKit

class HMSinaPictures: NSObject {

    var bmiddle_pic : String?
    var wap360 : String?
    var imageURL : URL?
    
    //缩略图的地址
    var thumbnail_pic : String?{
    
        didSet{
        
            bmiddle_pic = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "bmiddle")
            wap360 = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "wap360")
            imageURL = URL(string: wap360 ?? "")
        
        }
    
    }
    
}
